package org.student.entity;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class StuSys_Score {

	private int id; //
	private String scoreName; //
	private float finalScore; // 
	private float normalScore; // 
	private float totalScore; // 
	private String memo; //
	private StuSys_Student student ; //
	
	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	@ManyToOne
	@JoinColumn(name = "stuID")
	public StuSys_Student getStudent() {
		return student;
	}

	public void setStudent(StuSys_Student student) {
		this.student = student;
	}
	
	public String getScoreName() {
		return scoreName;
	}

	public void setScoreName(String scoreName) {
		this.scoreName = scoreName;
	}

	public float getFinalScore() {
		return finalScore;
	}

	public void setFinalScore(float finalScore) {
		this.finalScore = finalScore;
	}

	public float getNormalScore() {
		return normalScore;
	}

	public void setNormalScore(float normalScore) {
		this.normalScore = normalScore;
	}

	public float getTotalScore() {
		return totalScore;
	}

	public void setTotalScore(float totalScore) {
		this.totalScore = totalScore;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

}
